<?php /* @var $this Controller */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
    <link rel="Shortcut Icon" href="images/lol.ico" type="image/x-icon" />
    <title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>
<body>
    <?php
        $this->widget('bootstrap.widgets.TbNavbar', array(
            'brand' => false,
            'type' => 'inverse',
            'fixed' => 'top',
            'items' => array(
                array(
                    'class' => 'bootstrap.widgets.TbMenu',
                    'htmlOptions'=>array('class'=>'pull-right'),
                    'items'=>array(
                        array('label'=>'Mi Equipo', 'url'=>'#'),
                        array('label'=>'Perfil', 'url'=>'#'),
                        array('label'=>'Logout', 'url'=>'logout'),
                    ),
                )
            ),
            'htmlOptions'=>array('id'=>'navbarTop')
        ));
    ?> 
    <div id="container">
        <div id="page">
            <div id="header">
                <div  id="logo">
                    <img src="<?php echo Yii::app()->request->baseUrl;?>/images/logo.png">
                </div>
                <?php
                    $this->widget('bootstrap.widgets.TbNavbar', array(
                        'brand' => false,
                        'type' => 'inverse',
                        'fixed' => false,
                        'items' => array(
                            array(
                                'class' => 'bootstrap.widgets.TbMenu',
                                'items' => array(
                                    array('label'=>'Noticias', 'url'=>'#', 'active'=>'true'),
                                    array('label'=>'Jugadores', 'url'=>'#'),
                                    array('label'=>'Clasificaciones', 'items'=> array(
                                        array('label'=>'General', 'url'=>'#'),
                                        array('label'=>'Ligas Privadas', 'url'=>'#')
                                    )),
                                    array('label'=>'Estadísticas', 'url'=>'#'),
                                    array('label'=>'Resultados', 'url'=>'#'),
                                    array('label'=>'Foro', 'url'=>'#'),
                                )
                            )
                        ),
                        'htmlOptions'=>array('id'=>'navbar')
                    ));
                ?> 
            </div>
            <div id="content">
                <?php echo $content; ?>
            </div>
            <div id="footer">
                Copyright &copy; <?php echo date('Y'); ?> by My Company.<br/>
                All Rights Reserved.<br/>
                <?php echo Yii::powered(); ?>
            </div>
        </div>
    </div>
</body>
</html>
